package com.kaibes.module.verification;

import javax.servlet.http.HttpSession;

import com.kaibes.web.util.WebUtils;

public class VerificationUtils {

    public static String getCode(String tag) {
        HttpSession session = WebUtils.getRequest().getSession(true);
        String code = (String) session.getAttribute(tag);
        session.removeAttribute(tag);
        return code;
    }
    
}
